package com.wing.productionPlan.model.request;

/**
 * @Classname SubmitProductionPlanOutForm
 * @Description TODO
 * @Date 2025/3/19 11:03
 * @Created by zhoudada
 */

import com.wing.productionPlan.model.entity.ProductionWorkOrder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @Description: 提交生产计划记录接受form
 * @Project: szgc
 * @Package: com.wing.productionPlan.model.request.SubmitProductionPlanOutForm
 * @Date: 2025/03/19 11:03
 * @Author: heZhou
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class SubmitProductionPlanOutForm implements Serializable {

    private final static long serialVersionUID = 1L;

    /**
     * 计划id
     */
    private Long productionPlanId;


    /**
     * 基准数id
     */
    private Long bookId;

    /**
     * 本次生产数量
     */
    private Integer productionPlanQuantity;

    /**
     * 总排产
     */
    private Integer allProductionPlanQuantity;

    /**
     * 已排产数量
     */
    private Integer productionPlanHaveQuantity;

    /**
     * 物料id
     */
    private Long productDetailId;

    /**
     * 工序成品id
     */
    private Long semiFinishedId;

    /**
     * 物料code
     */
    private String skuCode;

    /**
     * 预计开始时间
     */
    private LocalDateTime predictStartTime;

    /**
     * 预计结束时间
     */
    private LocalDateTime predictFinishTime;

    /**
     * 排产时间
     */
    private LocalDateTime productTime;

    /**
     * 工单性质
     */
    private ProductionWorkOrder.WorkOrderQuality workOrderQuality;


    /**
     * 提交生产计划记录
     */
    private List<SubmitProductionPlanForm> submitProductionPlanForms;
}
